package com.wyl.dtoAndVoTypeByGeneric;

/**
 * @author 吴宇亮 on 2023/4/6 9:32
 */
public interface Father3 {

    Number hello (Number param);

}

class Son3 implements Father3 {

    // 入参是要一样的，返回值可以比父类小
    @Override
    public NumberInt hello(Number param) {
        return null;
    }
}
